package sac.vista.transacciones;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Color;
import javax.swing.border.LineBorder;
import javax.swing.JLabel;
import javax.swing.JComboBox;
import javax.swing.JTextField;
import javax.swing.JButton;

public class controlPeso extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					controlPeso frame = new controlPeso();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public controlPeso() {
		setTitle("Control de Peso");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 356, 239);
		contentPane = new JPanel();
		contentPane.setBackground(new Color(0, 204, 255));
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBorder(new LineBorder(new Color(0, 0, 0), 1, true));
		panel.setBackground(Color.WHITE);
		panel.setBounds(10, 11, 316, 179);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setBounds(105, 11, 128, 20);
		panel.add(comboBox);
		
		JLabel label = new JLabel("Tipo de Animal:");
		label.setBounds(10, 14, 85, 14);
		panel.add(label);
		
		JLabel lblAnimal = new JLabel("Animal:");
		lblAnimal.setBounds(49, 54, 46, 14);
		panel.add(lblAnimal);
		
		textField = new JTextField();
		textField.setBounds(105, 51, 128, 20);
		panel.add(textField);
		textField.setColumns(10);
		
		JButton btnBuscar = new JButton("");
		btnBuscar.setBounds(245, 50, 33, 23);
		panel.add(btnBuscar);
		
		JLabel lblFecha = new JLabel("Fecha:");
		lblFecha.setBounds(49, 95, 46, 14);
		panel.add(lblFecha);
		
		textField_1 = new JTextField();
		textField_1.setBounds(105, 92, 128, 20);
		panel.add(textField_1);
		textField_1.setColumns(10);
		
		JButton button = new JButton("Eliminar");
		button.setBounds(10, 133, 89, 23);
		panel.add(button);
		
		JButton button_1 = new JButton("Cancelar");
		button_1.setBounds(110, 133, 89, 23);
		panel.add(button_1);
		
		JButton button_2 = new JButton("Guardar");
		button_2.setBounds(209, 133, 89, 23);
		panel.add(button_2);
	}

}
